import request from "@/utils/request";

// 商品房销售走势
export const selectMarketTrend = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectMarketTrend",
			method: "get",
			params: params,
	});
};

// 商品房销售情况
export const selectMarketTrendStatistics = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectMarketTrendStatistics",
			method: "get",
			params: params,
	});
};

// 各地商品房销售面积与价格统计
export const selectMarketPriceArea = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectMarketPriceArea",
			method: "get",
			params: params,
	});
};
// 商品房各业态销售占比
export const selectMarketTrendProportion = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectMarketTrendProportion",
			method: "get",
			params: params,
	});
};
// 商品房各业态年销售额统计
export const selectYearMarket = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectYearMarket",
			method: "get",
			params: params,
	});
};
//各开发商新建住宅项目趋势
export const selectNewDwellingTrend = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectNewDwellingTrend",
			method: "post",
			data: params,
	});
};
//搜索
export const selectKfsmcList = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectKfsmcList",
			method: "get",
			params: params,
	});
};
//购房人来源统计
export const selectOtherPlacesBuy = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectOtherPlacesBuy",
			method: "get",
			params: params,
	});
};
//常住人口走势
export const selectPermanentResidentPopulation = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectPermanentResidentPopulation",
			method: "get",
			params: params,
	});
};
// 地图
export const selectThermodynamic = (params: any) => {
	return request({
			url: "/screen/tradingOne/selectThermodynamic",
			method: "get",
			params: params,
	});
};